package com.ciei.dpagm.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.ciei.dpagm.common.annotation.DefaultValue;

/**
 * @author pp
 * @date 2020/9/1
 **/
@TableName(value = "common_supply_type")
public class SupplyType {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String code;
    @TableField(fill = FieldFill.INSERT)
    @DefaultValue(intValue = 0)
    private Integer parentId;
    private String parentName;
    private String fileTypes;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getFileTypes() {
        return fileTypes;
    }

    public void setFileTypes(String fileTypes) {
        this.fileTypes = fileTypes;
    }
}
